
 /* Adjust assistant container position to avoid overlap */
.assistant-container {
  position: fixed;
  bottom: 100px; /* raised above the consultation button */
  right: 30px;
  z-index: 1000;
}

/* Float button wrapper styles for vertical tooltip on top */
.assistant-button {
  position: relative;
  width: 60px;
bottom: 180px; /* 80px+ space above the consultation button */
  right: 30px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  /* Remove the absolute positioning from before */
}

/* Hover effect */
.assistant-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Tooltip above the button */
.assistant-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #0066cc;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  animation: tooltipFadeIn 0.5s ease;
  z-index: 1001;
}

/* Tooltip arrow pointing down */
.assistant-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: #0066cc transparent transparent transparent;
}

/* Pulse effect inside assistant button if you want (optional) */
/* .btn-pulse similar to your consultation button can be added here if desired */

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

  
  .assistant-icon {
    position: relative;
    width: 40px;
    height: 40px;
  }
  
  .profile-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    position: relative;
    overflow: hidden;
  }
  
  .profile-icon:before {
    content: "";
    position: absolute;
    top: 15%;
    left: 30%;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: white;
  }
  
  .profile-icon:after {
    content: "";
    position: absolute;
    top: 35%;
    left: 25%;
    width: 50%;
    height: 20%;
    border-bottom-left-radius: 50% 60%;
    border-bottom-right-radius: 50% 60%;
    background: white;
  }
  
  .headphones {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 50px;
    height: 30px;
    border: 3px solid white;
    border-radius: 15px;
    box-sizing: border-box;
  }
  
  .headphones:before,
  .headphones:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    top: 18px;
  }
  
  .headphones:before {
    left: -8px;
  }
  
  .headphones:after {
    right: -8px;
  }
  
  .assistant-window {
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0e0e0;
  }
  
  .assistant-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .assistant-avatar {
    width: 40px;
    height: 40px;
    position: relative;
  }
  
  .assistant-header h3 {
    margin: 0;
    font-size: 1.2rem;
    flex-grow: 1;
    color: #333;
  }
  

  


  .close-assistant{
  background: none;
  font-size: 40px;
  border: none;
  font-size: 1.2rem;
  color: #0046A0;
  cursor: pointer;
  padding: 5px;
  transition: all 0.2s ease;

}
.close-assistant:hover {
  color: #666;
  transform: rotate(90deg);
}
  .assistant-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
  }
  
  .message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    font-size: 0.9rem;
  }
  
  .message.assistant {
    background: white;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
    border: 1px solid #e0e0e0;
  }
  
  .message.user {
    background: #0066cc;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
  }
  
  .message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    text-align: right;
    margin-top: 5px;
  }
    /* Add these styles to your existing CSS */
  .assistant-button {
    position: relative;
  }
  

  
  
  
  .assistant-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 15px);
  }
  .assistant-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #e0e0e0;
    background: white;
  }
  
  .assistant-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
  }
  
  .assistant-input button {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 1.2rem;
    margin-left: 10px;
    cursor: pointer;
  }








/* Modal Overlay */
.user-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 45, 90, 0.8);
  z-index: 9999;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.3s ease-out;
}

/* Modal Content */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 45, 90, 0.3);
  overflow: hidden;
}

.modal-header {
  background: #0056b3;
  color: white;
  padding: 20px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-header p {
  margin: 8px 0 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

/* Form Styles */
.modal-form {
  padding: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #0056b3;
  box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

/* Buttons */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background-color: #0056b3;
  color: white;
}

.btn-primary:hover {
  background-color: #004494;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #f0f0f0;
  color: #333;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

/* Response Message */
.form-response {
  padding: 0 25px 25px;
  min-height: 20px;
  color: #d9534f;
  font-size: 0.9rem;
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .modal-content {
    width: 95%;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }

    .assistant-tooltip {
    display: none !important;
  }
}







.message-content {
    padding: 12px 16px;
    line-height: 1.4;
}

.message.assistant .message-content {
    color: #333;
}

.message.user .message-content {
    color: white;
}

.message-time {
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
    text-align: right;
}

.service-heading {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #0056b3;
}

.list-item {
    display: flex;
    margin-bottom: 6px;
}

.list-number, .list-bullet {
    margin-right: 8px;
    font-weight: bold;
}

.highlight-info {
    color: #d35400;
    font-weight: bold;
}

.transfer-options {
    display: flex;
    gap: 10px;
    margin: 10px 15px;
}

.transfer-options button {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.transfer-options button:first-child {
    background-color: #0056b3;
    color: white;
    border: none;
}

.transfer-options button:last-child {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.transfer-options button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}




.message-loader {
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 0.9em;
    background: #f5f5f5;
    border-radius: 4px;
    margin: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}



/* Hide tooltip on small screens (below 768px) */
@media (max-width: 767px) {
  .assistant-tooltip {
    display: none !important;
  }


  .assistant-container {
  position: fixed;
  bottom: 50px; /* raised above the consultation button */
  right: 10px;
  z-index: 1000;
}

.assistant-button {
  position: relative;
  width: 60px;
bottom: 180px; /* 80px+ space above the consultation button */
  right: 10px;

}

}

